<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${payQrConfig.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">支付渠道：</label>
                            <div class="col-sm-4">
                                <select id="outChannel" name="outChannel" class="form-control">
                                    <option th:each="outChannel:${outChannels}" th:value="${outChannel.key}"
                                            th:text="${outChannel.value}"
                                            th:if="${outChannel.key eq payQrConfig.outChannel}"
                                            th:selected="selected"></option>
                                </select>
                            </div>
                            <label class="col-sm-2 control-label">费率：</label>
                            <div class="col-sm-4">
                                <input id="costRate" name="costRate" class="form-control"
                                       th:value="${payQrConfig.costRate}" type="number" max="0.03" min="0" maxlength="6"
                                       required="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">订单号：</label>
                            <div class="col-sm-4">
                                <input id="accountNo" name="accountNo" th:value="${payQrConfig.accountNo}"
                                       class="form-control" type="text" maxlength="60" readonly="readonly">
                            </div>
                            <label class="col-sm-2 control-label">卖家旺旺昵称：</label>
                            <div class="col-sm-4">
                                <input id="accountName" name="accountName" th:value="${payQrConfig.accountName}"
                                       class="form-control" type="text" maxlength="32" required="required">
                            </div>
                        </div>
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-2 control-label">有效时长：</label>-->
                            <!--<div class="col-sm-4">-->
                                <!--&lt;!&ndash;<input id="maxMoney" name="maxMoney" th:value="${payQrConfig.maxMoney}"&ndash;&gt;-->
                                       <!--&lt;!&ndash;class="form-control" type="text"&ndash;&gt;-->
                                       <!--&lt;!&ndash;maxlength="20">&ndash;&gt;-->

                                <!--<input id="status" name="status"       th:value="${payQrConfig.status}"-->
                                       <!--class="form-control" type="number"-->
                                       <!--max="23" maxlength="2" min="1">-->
                            <!--</div>-->
                            <!--<label class="col-sm-2 control-label">金额：</label>-->
                            <!--<div class="col-sm-4">-->
                                <!--<input id="money" name="money" th:value="${payQrConfig.money}"-->
                                       <!--class="form-control" type="number"-->
                                       <!--maxlength="20" max="100000" min="50" readonly>-->
                            <!--</div>-->
                        <!--</div>-->

                        <div class="form-group">
                            <label class="col-sm-2 control-label">二维码字符串：</label>
                            <div class="col-sm-10">
                                <input id="qrs" name="qrs" th:value="${payQrConfig.qrs}" class="form-control"
                                       type="text" maxlength="1024">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">备注信息：</label>
                            <div class="col-sm-10">
                                <input id="memo" name="memo" th:value="${payQrConfig.memo}" class="form-control"
                                       type="text" maxlength="50">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10 col-sm-offset-2">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/pay/payQrConfig/edit.js"></script>
    <script type="text/javascript" src="/js/bootstrap-datetimepicker.min.js"></script><!-- 日期框 -->
<script type="text/javascript" src="/js/bootstrap-datetimepicker.zh-CN.js"></script><!-- 日期框 -->

<script>

</script>
</body>
</html>
